package priv.yiyuan.example.design.message;

/**
 * 普通消息
 * <p>
 * 桥接模式(抽象扩展部分)
 *
 * @author YiYuan
 * @data 2025/8/18
 * @apoNote
 */
public class GeneralNotification extends Notification {

    public GeneralNotification(MessageSender sender) {
        super(sender);
    }

    @Override
    public void notifyUser(String message) {
        System.out.println("普通消息: ");
        sender.send(message);
    }

}
